import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:zhrs/utils/windowsSize.dart';
class exploremanmessage1 {
  exploremanmessage1({
    this.title,
    this.Url,
    this.description,
    this.color,
    this.index,
    this.top,
    this.upordown,
    this.imgUrl
  });
   String title;
   final String imgUrl;
  final String Url;
  final String description;
  final Color  color;
  final int index;
  final String upordown;
   double top;


  Map toJson()=>{"title":title,"Url":Url,"description":description,"color":color,"index":index,"imgUrl":imgUrl};
  bool selected = false;
}
///男
final List<exploremanmessage1> exploremanmessage1s = [
  exploremanmessage1(
      index: 1,
      title: '职业发展规划',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img1.png',
      color:Colors.redAccent,
      top:  windowsSize.mapViewHeight*0.18-windowsSize.mapViewWidth/5+10,
      upordown:"up"

  ),
  exploremanmessage1(
      index: 2,
      title: '个性化培养',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.orangeAccent,
      top: 0,
      upordown: "up"
  ),
  exploremanmessage1(
      index: 3,
      title: '在线招聘',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.purpleAccent,
      top:0,
      upordown: "up"
      ,Url: "https://www.dzsbk.cn/smartDemo/page/main/zph_01.html"
  ),
  exploremanmessage1(
      index: 4,
      title: '就业指导服务',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.white70,
      top: 0,
      upordown: "up"
  ),
  exploremanmessage1(
      index: 5,
      title: '就业D图',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.teal,
      top:  windowsSize.mapViewHeight*0.18- windowsSize.mapViewWidth/5+10,
      upordown: "up"
      ,Url: "https://www.dzsbk.cn/smartDemo/page/main/jydt_rlzyfw_01.html"
  ),
];

final List<exploremanmessage1> exploremanmessage1s2 = [
  exploremanmessage1(
      index: 1,
      title: '用卡D图',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img1.png',
      color:Colors.redAccent,
      top:  windowsSize.mapViewHeight*0.18- windowsSize.mapViewWidth/5+10,
      upordown: "up"
      ,Url: "https://www.dzsbk.cn/smartDemo/page/main/jydt_rlzyfw_01.html"
  ),
  exploremanmessage1(
      index: 2,
      title: '电子档案袋',
      imgUrl: 'https://www.dzsbk.cn/smartDemo/page/main/ykdt_01.html',
      color:Colors.orangeAccent,
      top: 0,
      upordown: "up"
      ,Url: "https://www.dzsbk.cn/smartDemo/page/explore/wddzdad_01.html"
  ),
  exploremanmessage1(
      index: 3,
      title: '政策咨询热点',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.purpleAccent,
      top:0,
      upordown: "up"
  ),
];

final List<exploremanmessage1> exploremanmessage1s3 = [
  exploremanmessage1(
      index: 1,
      title: '商业医疗保险',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img1.png',
      color:Colors.white30,
      top:   0,
      upordown: "down"

  ),
  exploremanmessage1(
      index: 2,
      title: '健康指南',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.lightGreen,
      top:   0,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 3,
      title: '医疗缴费明细',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.red,
      top:windowsSize.mapViewHeight*0.18- windowsSize.mapViewWidth/5+10,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 4,
      title: '异地结算',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.orangeAccent,
      top: 0,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 5,
      title: '社会保险',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.pinkAccent,
      top:  0,
      upordown: "down"
  ),
];

final List<exploremanmessage1> exploremanmessage1s4= [
exploremanmessage1(
index: 1,
title: '健康月报',
    imgUrl: 'http://106.12.180.103/smartDemo/images/news-img1.png',
color:Colors.white30,
top:  0,
upordown: "down"
),
exploremanmessage1(
index: 2,
title: '诉求分析报告',
    imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
color:Colors.lightGreen,
top: 0,
upordown: "down"
),
exploremanmessage1(
index: 3,
title: '诚信查询',
    imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
color:Colors.red,
top:windowsSize.mapViewHeight*0.18- windowsSize.mapViewWidth/5+10,
upordown: "down"
),
exploremanmessage1(
index: 4,
title: '电子证照',
    imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
color:Colors.orangeAccent,
top: 0,
upordown: "down"
),
];

List< List<exploremanmessage1>> exploremanmessagelistman=
[
  exploremanmessage1s,
  exploremanmessage1s2,
  exploremanmessage1s3,
  exploremanmessage1s4,



];
///女

List< List<exploremanmessage1>> exploremanmessagelistwoman=
[
  exploremanmessage1s,
  exploremanmessage1s2,
  exploremanmessage1s3,
  exploremanmessage1s4,
];

///老年


final List<exploremanmessage1> exploremanmessage1sold = [
  exploremanmessage1(
    index: 1,
    title: 'null',

  ),
  exploremanmessage1(
    title: 'null',
    index: 2,

  ),
  exploremanmessage1(
      index: 3,
      title: '待遇资格认证',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.orange,
      top: 0,
      upordown: "up"
      ,Url: "https://www.dzsbk.cn/smartDemo/page/main/ylrz_01.html"
  ),
  exploremanmessage1(
      index: 4,
      title: '养老金调整',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.purpleAccent,
      top:0,
      upordown: "up"
  ),
  exploremanmessage1(
      index: 5,
      title: '养老金查询',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.redAccent,
      top:windowsSize.mapViewHeight*0.18-windowsSize.mapViewWidth/5+10,
      upordown: "up"
  ),
];

final List<exploremanmessage1> exploremanmessage1sold2 = [
  exploremanmessage1(
      index: 1,
      title: '用卡D图',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img1.png',
      color:Colors.redAccent,
      top:  windowsSize.mapViewHeight*0.18-windowsSize.mapViewWidth/5+10,
      upordown:"up"
      ,Url: "https://www.dzsbk.cn/smartDemo/page/main/ykdt_01.html"

  ),
  exploremanmessage1(
      index: 2,
      title: '电子档案袋',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.orangeAccent,
      top: 0,
      upordown: "up"
      ,Url: "https://www.dzsbk.cn/smartDemo/page/explore/wddzdad_01.html"

  ),
  exploremanmessage1(
      index: 3,
      title: '政策咨询热点',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.purpleAccent,
      top:0,
      upordown: "up"
  ),

];

final List<exploremanmessage1> exploremanmessage1sold3 = [
  exploremanmessage1(
      index: 1,
      title: '商业医疗保险',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img1.png',
      color:Colors.white30,
      top:   0,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 2,
      title: '健康指南',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.lightGreen,
      top:   0,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 3,
      title: '医疗缴费明细',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.red,
      top:windowsSize.mapViewHeight*0.18- windowsSize.mapViewWidth/5+10,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 4,
      title: '异地结算',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.orangeAccent,
      top: 0,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 5,
      title: '社会保险',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.pinkAccent,
      top:  0,
      upordown: "down"
  ),
];

final List<exploremanmessage1> exploremanmessage1sold4= [
  exploremanmessage1(
      index: 1,
      title: '健康月报',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img1.png',
      color:Colors.white30,
      top:  0,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 2,
      title: '诉求分析报告',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.lightGreen,
      top: 0,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 3,
      title: '诚信查询',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.red,
      top:windowsSize.mapViewHeight*0.18- windowsSize.mapViewWidth/5+10,
      upordown: "down"
  ),
  exploremanmessage1(
      index: 4,
      title: '电子证照',
      imgUrl: 'http://106.12.180.103/smartDemo/images/news-img2.png',
      color:Colors.orangeAccent,
      top: 0,
      upordown: "down"
  ),
];

List< List<exploremanmessage1>> exploremanmessagelistold=
[
  exploremanmessage1sold,
  exploremanmessage1sold2,
  exploremanmessage1sold3,
  exploremanmessage1sold4,
];

Map<String,List< List<exploremanmessage1>>> exploremanmessagemap=
{
  "man": exploremanmessagelistman,
  "woman": exploremanmessagelistwoman,
  "old": exploremanmessagelistold,
};

class exploreexperience {
  exploreexperience({
    this.description1,
    this.description2,
    this.description3,
  });
  final String description1;
  final String description2;
  final String description3;
  Map toJson()=>{"description1":description1,"description2":description2};
  bool selected = false;
}

///男
final List<exploreexperience> exploreexperiences= [
  new exploreexperience(
      description1: "姓名:张铭清",
  ),
  new exploreexperience(
      description1: "性别:男",
  ),
  new exploreexperience(
      description1: "年龄:31岁"

  ),
];

final List<exploreexperience> exploreexperiences2= [
  new exploreexperience(
    description1: "学历:本科",
  ),
  new exploreexperience(
    description1: "从事行业:计算机",
  ),
];

final List<exploreexperience> exploreexperiences3= [
  new exploreexperience(
    description1: "健康状况:良好",
  ),
  new exploreexperience(
    description1: "异地医疗:无",
  ),
];
final List<exploreexperience> exploreexperiences4= [
  new exploreexperience(
    description1: "个人信用:810分",
  ),
  new exploreexperience(
    description1: "服务记录:5次",
  ),
];
List< List<exploreexperience> > eploremessagelistsman=[
   [
  new exploreexperience(
    description1: "姓名:张铭清",
  ),
  new exploreexperience(
    description1: "性别:男",
  ),
  new exploreexperience(
      description1: "年龄:31岁"
  ),
],
 [
  new exploreexperience(
    description1: "学历:本科",
  ),
  new exploreexperience(
    description1: "从事行业:计算机",
  ),
],
[
  new exploreexperience(
    description1: "健康状况:良好",
  ),
  new exploreexperience(
    description1: "异地医疗:无",
  ),
 ],
 [
  new exploreexperience(
    description1: "个人信用:810分",
  ),
  new exploreexperience(
    description1: "服务记录:5次",
  ),
],
];

///女
List< List<exploreexperience> > eploremessagelistswomen=[
  [
    new exploreexperience(
      description1: "姓名:李敏慧",
    ),
    new exploreexperience(
      description1: "性别:女",
    ),
  ],
  [
    new exploreexperience(
      description1: "学历:本科",
    ),
    new exploreexperience(
      description1: "从事行业:UI设计",
    ),
  ],
  [
    new exploreexperience(
      description1: "健康状况:良好",
    ),
    new exploreexperience(
      description1: "异地医疗:无",
    ),
  ],
  [
    new exploreexperience(
      description1: "个人信用:810分",
    ),
    new exploreexperience(
      description1: "服务记录:5次",
    ),
  ],
];

///老人
List< List<exploreexperience> > eploremessagelistsold=[
  [
    new exploreexperience(
      description1: "姓名:高玉怀",
    ),
    new exploreexperience(
      description1: "性别:男",
    ),
    new exploreexperience(
      description1: "年龄:68",
    ),
  ],

  [
    new exploreexperience(
      description1: "月养老金:2800元",
    ),

  ],
  [
    new exploreexperience(
      description1: "健康状况:良好",
    ),
    new exploreexperience(
      description1: "异地医疗:无",
    ),
  ],
  [
    new exploreexperience(
      description1: "个人信用:810分",
    ),
    new exploreexperience(
      description1: "服务记录:5次",
    ),
  ],
];
///map集合
Map<String ,List< List<exploreexperience> > > eploremessagemap=
{
  "man": eploremessagelistsman,
  "woman": eploremessagelistswomen,
  "old": eploremessagelistsold,
};